package com.ruoyi.db.domain.system;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 【请填写功能名称】对象 pc_user_earns
 * 
 * @author ruoyi
 * @date 2022-08-08
 */
@ApiModel(value = "PcUserEarns",description = "【请填写功能名称】对象 pc_user_earns")
public class PcUserEarns extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** pc用户运营中心,事业部，分公司，业绩收益表 */
    private Long id;

    /** userID */
    @ApiModelProperty(value="userID",name="PcUserEarns$userId")
    @Excel(name = "userID")
    private Long userId;

    /** 下级用户ID */
    @ApiModelProperty(value="下级用户ID",name="PcUserEarns$childClientId")
    @Excel(name = "下级用户ID")
    private Long childClientId;

    /** 下级业绩 */
    @ApiModelProperty(value="下级业绩",name="PcUserEarns$childAmount")
    @Excel(name = "下级业绩")
    private BigDecimal childAmount;

    /** 用户获取的收益 */
    @ApiModelProperty(value="用户获取的收益",name="PcUserEarns$userEarns")
    @Excel(name = "用户获取的收益")
    private BigDecimal userEarns;

    /** 内容 */
    @ApiModelProperty(value="内容",name="PcUserEarns$content")
    @Excel(name = "内容")
    private String content;

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    private String startTime;

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    private String endTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setChildClientId(Long childClientId) 
    {
        this.childClientId = childClientId;
    }

    public Long getChildClientId() 
    {
        return childClientId;
    }
    public void setChildAmount(BigDecimal childAmount) 
    {
        this.childAmount = childAmount;
    }

    public BigDecimal getChildAmount() 
    {
        return childAmount;
    }
    public void setUserEarns(BigDecimal userEarns) 
    {
        this.userEarns = userEarns;
    }

    public BigDecimal getUserEarns() 
    {
        return userEarns;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("childClientId", getChildClientId())
            .append("childAmount", getChildAmount())
            .append("userEarns", getUserEarns())
            .append("createTime", getCreateTime())
            .append("content", getContent())
            .toString();
    }
}
